package edu.spec.wfl.week07.class2;

public abstract class Self extends Mom implements Dad{    ////继承母亲类，实现父亲接口
    /*@Override
    public void work() {
        System.out.println("我比爸爸勤奋");      //sout简写
    }

    public Self(){

    }

    public static void main(String[] args) {    //psvm简写
        Self zj = new Self();
    }*/

    public abstract void study();
    /*1.抽象类只能实例化，不能被继承
     * 2.抽象类里可以有抽象方法*/
}

